package com.zsk.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Administrator
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("订单积分-解冻实体类返回")
public class ShopOrderPointsDetail {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "主键编号", dataType = "Long")
    private Long id;

    @ApiModelProperty(name = "orderPointsNo", value = "业务主键", dataType = "String")
    private String orderPointsNo;

    @ApiModelProperty(name = "ratio", value = "已解冻比例", dataType = "BigDecimal")
    private BigDecimal ratio;

    @ApiModelProperty(name = "pointRatio", value = "解冻积分比例", dataType = "BigDecimal")
    private BigDecimal pointRatio;

    @ApiModelProperty(name = "moneyRatio", value = "解冻金额比例", dataType = "BigDecimal")
    private BigDecimal moneyRatio;

    @ApiModelProperty(name = "thawPoint", value = "已解冻积分", dataType = "BigDecimal")
    private BigDecimal thawPoint;

    @ApiModelProperty(name = "thawMoney", value = "当次同步已解冻金额", dataType = "BigDecimal")
    private BigDecimal thawMoney;

    @ApiModelProperty(name = "thawTime", value = "解冻时间", dataType = "Date")
    private Date thawTime;

}